package com.heima.scan;

import com.heima.feign.client.ArticleFetignClient;
import com.heima.feign.client.TaskScheduleFeignClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;


@SpringBootApplication
@EnableFeignClients( clients = {ArticleFetignClient.class, TaskScheduleFeignClient.class})
@MapperScan(basePackages = {"com.heima.wemedia.mapper","com.heima.scan.mapper"})
public class ScanApplication {
    public static void main(String[] args) {
        SpringApplication.run(ScanApplication.class,args);
    }
}
